﻿namespace Infrastructure.Config.Core.Identity
{
    public class ClaimConsts
    {
        public class SubClaim
        {
            public const string Scope = "openid";
            public const string Type = "sub";
            public const string Description = "用户Id";
        }
        public class UserIdClaim
        {
            public const string Scope = "userId";
            public const string Type = "userId";
            public const string Description = "用户Id";
        }
        public class NameClaim
        {
            public const string Scope = "name";
            public const string Type = "name";
            public const string Description = "账号名";
        }
        public class RoleClaim
        {
            public const string Scope = "roles";
            public const string Type = "role";
            public const string Description = "角色(可以多个)";
        }
        public class BrandIdClaim
        {
            public const string Scope = "brandId";
            public const string Type = "brandId";
            public const string Description = "品牌Id";
        }
        public class SchoolIdClaim
        {
            public const string Scope = "schoolId";
            public const string Type = "schoolId";
            public const string Description = "门店Id";
        }
        public class DepartmentIdClaim
        {
            public const string Scope = "departmentId";
            public const string Type = "departmentId";
            public const string Description = "部门Id";
        }
        public class AvatarClaim
        {
            public const string Scope = "avatar";
            public const string Type = "avatar";
            public const string Description = "用户头像";
        }
        public class UserTypeClaim
        {
            public const string Scope = "usertype";
            public const string Type = "usertype";
            public const string Description = "用户类型";
        }

        public class UserPermissionTypeClaim
        {
            public const string Name = "permissionName";
            public const string Type = "permissionName";
            public const string Description = "用户权限名称";
        }
 
    }
}
